#include"string.h"
namespace zhao
{
	void test_string()
	{
		string s1("hello world");
		cout << s1.capacity() << endl;

		s1.reserve(100);
		cout << s1.capacity() << endl;

		s1.push_back('x');
		cout << s1 << endl;
	}
}
int main()
{
	zhao::test_string();
	return 0;
}